📒 Notes for Lecture 06: Meta Tags, Title & Linking
-
<meta name="description">: Provides page description for SEO. Example:
<meta name="description" content="This is Prashant saini website">
-
<title> Tag: Sets the text shown in the browser tab. Example:
<title>Prashant saini</title>
-
Heading Tags: Used
<h1>
and<h2>
to structure content:<h1>Prashant</h1>
– Main heading<h2>if you want to learn core web vitals…</h2>
– Subheading with a link
-
Anchor Tag with Inline Style: Example link to an external resource:
<a style="text-decoration: none;" href="https://web.dev/learn" target="_blank">Web Dev</a>
-
HTML Boilerplate: All content is wrapped inside:
<!DOCTYPE html>
– Declares HTML5<html lang="en">
– Root element with language attribute<head>
– Contains meta tags and title<body>
– Contains visible content
Hinglish: Lecture 06 mein humne <meta name="description">
ka use SEO ke liye
sikha aur
<title>
tag se browser tab ka naam set kiya. Headings
(<h1>
, <h2>
)
se content ko structure kiya, aur ek external link ke liye inline style use karke decoration
hata di.
💻 Live Code Preview
If the iframe doesn’t load, click here to open Lecture 06 code in a new tab.